@extends('public')

@section('content')
<div class="sx_box_w">
  <div class="sx_box">
    {{--<dl>--}}
       {{--<dt>项目状态</dt>--}}
       {{--<dd><a class="current" href="#">全部</a><a href="#">投标中</a><a href="#">投标完成</a><a href="#">还款中</a>--}}
       {{--</dd>--}}
    {{--</dl>--}}
    <dl>
       <dt>项目期限：</dt>
       <dd>
           <a @if(isset($page) && $page=='alllist')  class="current" @endif href="{{url('article/alllist')}}">全部</a>
           <a   @if(isset($page) && $page == 'threelist') class =" current" @endif href="{{url('article/threelist')}}" >0 - 3个月</a>
           <a  @if(isset($page) && $page=='sixlist') class="current" @endif href="{{url('article/sixlist')}}">3 - 6个月</a>
           <a  @if(isset($page) && $page=='ninelist') class="current" @endif href="{{url('article/ninelist')}}">6 - 9个月</a>
           <a @if(isset($page) && $page =='twelvelist') class="current "  @endif href="{{url('article/twelvelist')}}">9 - 12个月</a>
           <a  @if(isset($page) && $page=='fourteenlist') class="current" @endif  href="{{url('article/fourteenlist')}}">12个月以上</a>
       </dd>
    </dl>
    <dl>
       <dt>项目收益：</dt>
       <dd><a @if(isset($page) && $page=='alllist')  class="current" @endif href="{{url('article/alllist')}}">全部</a>
           <a  @if(isset($page) && $page=='sevenlist') class="current" @endif href="{{url('article/sevenlist')}}">7%以下</a>
           <a @if(isset($page) && $page=='eightlist') class="current"  @endif href="{{url('article/eightlist')}}">7 - 8%</a>
           <a @if(isset($page) && $page=='ninthlist') class="current" @endif  href="{{url('article/ninthlist')}}">8 - 9%</a>
           <a @if(isset($page) && $page=='tenlist') class="current" @endif href="{{url('article/tenlist')}}">9 - 10%</a>
           <a  @if(isset($page) && $page=='elevenlist') class="current" @endif href="{{url('article/elevenlist')}}">10%以上</a>
       </dd>
    </dl>
  <div class="sx_more">
    <dl>
       <dt>项目类型：</dt>
       <dd>
           <a  @if(isset($page) && $page=='alllist')  class="current" @endif href="{{url('article/alllist')}}">全部</a>
           <a  @if(isset($page) && $page=='fixedincomelist') class="current" @endif  href="{{url('article/fixedincomelist')}}">安心投</a>
           <a @if(isset($page) && $page=='fundlist') class="current" @endif  href="{{url('article/projectlist')}}">项目贷</a>
           <a  @if(isset($page) && $page=='borrowlist') class="current" @endif  href="{{url('article/borrowlist')}}">快速借</a>
       </dd>
     </dl>
   </div>
    <div class="clear"></div>
      <div class="btn_more btn_more_hidden">更多筛选条件</div>
  </div>
</div>

<div class="wrap">
  <div class="zj_box">
    <div class="zj_list">
  <ul>
    {{--<li>--}}
      {{--<div class="b">--}}
      {{--<span class="xinshou"></span>--}}
      {{--<span class="line_1">--}}
        {{--<span class="t_name">车辆周转贷 4302001-1-1</span>--}}
        {{--<span class="t_x">一次还本付息</span>--}}
        {{--<span class="jd"><span class="jd_blue" style=" width:60%"></span></span>--}}
        {{--<span class="t_n">165,001.00 /  19.71 万</span>--}}
      {{--</span>--}}
      {{--<span class="t_2 t_2_b">--}}
        {{--<span class="t_org">7.5+2</span>--}}
{{--年化利率(%)--}}
      {{--</span>--}}
      {{--<span class="t_2">--}}
      {{--<span class="t_org">2</span>--}}
{{--项目期限(月)--}}
      {{--</span>--}}
      {{--<div class="clear"></div>--}}
      {{--<a class="btn_blue" href="#">立即投标</a>--}}
      {{--</div>--}}
    {{--</li>--}}
      @foreach($data as $key=>$value)
    <li>
      <div class="b">
      <span class="line_1">
        <span class="t_name">{{$value->title}}</span>
        <span class="t_x">{{$value->payment}}</span>
        <span class="jd"><span class="jd_green" style=" width:100%"></span></span>
        <span class="t_n">{{$value->price}}/{{$value->amount}}</span>
      </span>
      <span class="t_2 t_2_b">
        <span class="t_org">{{$value->annualRate}}</span>
年化利率(%)
      </span>
      <span class="t_2">
      <span class="t_org">{{$value->period}}</span>
项目期限(月)
      </span>
      <div class="clear"></div>
      <a class="btn_blue" href="{{url('article/fixedincomedetail/'.$value->id)}}">立即投标（{{$value->bidpr}}万）</a>
      </div>
    </li>
      @endforeach

    {{--<li>--}}
      {{--<div class="b">--}}
      {{--<span class="line_1">--}}
        {{--<span class="t_name">个人消费贷集合 160914-21</span>--}}
        {{--<span class="t_x">等额本息</span>--}}
        {{--<span class="jd"><span class="jd_green" style=" width:100%"></span></span>--}}
        {{--<span class="t_n">融资完成，金额  0.30 万</span>--}}
      {{--</span>--}}
      {{--<span class="t_2 t_2_b">--}}
        {{--<span class="t_org">7.5</span>--}}
{{--年化利率(%)--}}
      {{--</span>--}}
      {{--<span class="t_2">--}}
      {{--<span class="t_org">3</span>--}}
{{--项目期限(月)--}}
      {{--</span>--}}
      {{--<div class="clear"></div>--}}
      {{--<a class="btn_gray" href="#">还款中·查看详情</a>--}}
      {{--</div>--}}
    {{--</li>--}}
    <div class="clear"></div>
  </ul>
  </div>
  
  {{--<div class="page"><a href="#">上一页</a><span class="current">1</span><a href="#">2</a><a href="#">3</a><span class="dot">...</span><a href="#">10</a><a href="#">下一页</a></div>--}}
  <div class="page">
      @if ($data->hasPages())
          <div class="pager">
              {!! $data->appends($appends)->render() !!}
          </div>
      @endif
  </div>
  </div>
  <div class="clear"></div>
</div>
</div>


@endsection